#ifndef USERINFOSERVICE_H
#define USERINFOSERVICE_H

#include <qobject.h>
#include <qvariant.h>
#include <QSqlQueryModel>
#include <qmap.h>

class UserInfoService:public QObject
{
public:
    UserInfoService(QObject* parent=0);
public:
    QString getCurrentUser();
    QSqlQueryModel* getUserModel();
    bool update(QMap<QString,QString> map);
    bool insert(QMap<QString,QString> map);
    bool del(QString userguid);
};

#endif // USERINFOSERVICE_H
